package com.jiunuan.live.im.router.interfaces.rpc;

import com.jiunuan.live.im.dto.ImMsgBody;

import java.util.List;

/**
 * @Author: JiuNuan
 * @CreateTime: 2024-08-16 11:44
 * @Description:
 */

public interface ImRouterRpc {
    /**
     * 按照用户id进行消息的发送
     * @param imMsgBody
     */
    boolean sendMsg(ImMsgBody imMsgBody);

    /**
     * 直播间内，批量发送消息
     * @param imMsgBodyList
     */
    void  batchSendMsg(List<ImMsgBody> imMsgBodyList);
}
